home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / IEditor / Expanders / GetFile / Edit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-17  |  3.1 KB  |  80 lines

  1. /*
  2.     C source code created by Interface Editor
  3.     Copyright © 1994-1996 by Simone Tellini
  4.  
  5.     Generator:  C_IE_Mod.generator 37.1 (29.4.96)
  6.  
  7.     Copy registered to :  UNREGISTERED DEMO VERSION - PLEASE SUPPORT THE SHAREWARE CONCEPT
  8.     Serial Number      : #5
  9. */
  10.  
  11. #ifndef EXEC_TYPES_H
  12. #include <exec/types.h>
  13. #endif
  14. #ifndef EXEC_NODES_H
  15. #include <exec/nodes.h>
  16. #endif
  17. #ifndef INTUITION_INTUITION_H
  18. #include <intuition/intuition.h>
  19. #endif
  20. #ifndef INTUITION_GADGETCLASS_H
  21. #include <intuition/gadgetclass.h>
  22. #endif
  23. #ifndef LIBRARIES_GADTOOLS_H
  24. #include <libraries/gadtools.h>
  25. #endif
  26. #ifndef CLIB_EXEC_PROTOS_H
  27. #include <clib/exec_protos.h>
  28. #endif
  29. #ifndef CLIB_INTUITION_PROTOS_H
  30. #include <clib/intuition_protos.h>
  31. #endif
  32. #ifndef CLIB_GADTOOLS_PROTOS_H
  33. #include <clib/gadtools_protos.h>
  34. #endif
  35. #ifndef CLIB_GRAPHICS_PROTOS_H
  36. #include <clib/graphics_protos.h>
  37. #endif
  38. #ifndef CTYPE_H
  39. #include <ctype.h>
  40. #endif
  41. #ifndef STRING_H
  42. #include <string.h>
  43. #endif
  44.  
  45. #define GetString( g )  ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  46. #define GetNumber( g )  ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  47.  
  48. #define WT_LEFT                         0
  49. #define WT_TOP                          1
  50. #define WT_WIDTH                        2
  51. #define WT_HEIGHT                       3
  52.  
  53. #define GD_Ok                                   0
  54. #define GD_Canc                                 1
  55. #define GD_Label                                        2
  56. #define GD_Disabled                                     3
  57.  
  58. #define Main_CNT 4
  59.  
  60. extern struct IntuitionBase     *IntuitionBase;
  61. extern struct Library           *GadToolsBase;
  62. extern UWORD                    MainGTypes[];
  63. extern struct TextAttr          topaz8_065;
  64. extern struct NewGadget         MainNGad[];
  65. extern ULONG                    MainGTags[];
  66. extern LONG OpenMainWindow( struct Window **, struct Gadget **, struct Gadget **, struct IE_Data * );
  67. extern void MainRender( struct Window *, struct IE_Data * );
  68. extern LONG HandleMainIDCMP( struct Window *, struct Gadget **, struct IE_Data * );
  69. extern BOOL MainVanillaKey( UBYTE, struct Window *, struct Gadget **, struct IE_Data * );
  70. extern BOOL HandleMainKeys( UBYTE, struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  71. extern BOOL OkKeyPressed( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  72. extern BOOL CancKeyPressed( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  73. extern BOOL DisabledKeyPressed( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  74. extern BOOL HandleWindow(struct Window *, struct Gadget **, struct GFInfo *, struct IE_Data  *);
  75. extern void CloseWnd( struct Window **Wnd, struct Gadget **GList );
  76. extern BOOL OkClicked( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  77. extern BOOL CancClicked( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  78. extern BOOL LabelClicked( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  79. extern BOOL DisabledClicked( struct Window *, struct Gadget **, struct IE_Data *, struct IntuiMessage * );
  80.